﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Unis.ORM.DbSql
{
    [Serializable]
    public class SqlString
    {
        // Fields
        private List<SqlParamInfo> _ParamFields;
        private string _SqlString;

        // Methods
        public SqlString()
        {
        }

        public SqlString(string strSql, List<SqlParamInfo> paramField)
        {
            this._SqlString = strSql;
            this._ParamFields = paramField;
        }

        // Properties
        public List<SqlParamInfo> ParamFields
        {
            get
            {
                return this._ParamFields;
            }
            set
            {
                this._ParamFields = value;
            }
        }

        public string SqlStr
        {
            get
            {
                return this._SqlString;
            }
            set
            {
                this._SqlString = value;
            }
        }
    }
}
